﻿


/*
主色调
#57c030*/

body{
	min-width: 1140px;
}



/*头部-导航*/
#nav{
	height: 60px;
	width:100%;
	float:left;
	background-color: #57c030;
}
#logoDiv{
	position: relative;
	height:100%;
	width:auto;
	float:left;
	padding-left: 20px;
	z-index: 1;
}
#logoDiv .logo{
	display: inline-block;
	margin: 10px 5px;
	margin-left: 0px;
	height: 40px;
	width: 40px;
	/* background-image: url('../images/logo/logo_food.png'); */
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	z-index: 9999;
}
#logoDiv .logo img{ width: 40px; height:40px;}
#logoDiv .title{
	display: inline-block;
	line-height: 60px;
	vertical-align: top;
	color: #fff;
	font-size: 24px;
	font-weight: bold;
	margin-left: 5px;
	letter-spacing: .1em;
}
#navDiv{
	/* height: 60px; */
	border-right: 1px solid #00000020;
	height: 100%;
	width: 25%;
}
.layui-bg-blue{background-color:#def6f7 !important}
.right-top-nav{
	background-color: transparent;
}



/*侧边栏-导航*/
.navA{
	padding: 15px;
	/* float:left; */
	/* line-height: 60px; */
	cursor: pointer;
	color: #fff;
	text-align: center;
	/* transition: background-color .3s ease; */
	/* margin-top: 10px; */
}
.navA a{ display: block; width: 100%; background: transparent;}
.navA .mainnav-icon{ text-align: center;margin-top: 5px;background: transparent;}
.navA .mainnav-icon img{width: 40px; background: transparent;}
.navA .mainnav-title{ text-align: center; margin-top: 5px;background: transparent; font-size: 10px;}
.navElement{
	border:1px solid black;
	float:left;
	height:100%;
	line-height:100%;
}
#leftDiv{
	position: relative;
	z-index: 999;
	height:calc(100% - 60px);
	float:left;
	width:18%;
	background-color: #efefef;
	border-right: 1px solid #ccc;

}
#leftDiv .left-title{
	line-height: 40px;
	text-align: center;
	font-weight: normal;
	font-size: 20px;
	color: #fff;
	box-shadow: 0 1px 2px 0 rgba(0,0,0,.15);
	background-attachment: #caf4de;
	
}
#leftDiv .left-content{
	width: 75%;
	height: calc(100% - 40px);
	overflow: auto;
}


#middleDiv{
	position: relative;
	float: left;
	height: calc(100% - 60px);
	width:18%;
	background-color: #fff;
	border-right: 1px solid #ccc;
	font-size: 12px;
	overflow: auto;
}
#middleDiv .foot{
	padding: 10px 20px;
}


#rightDiv{
	position: relative;
	height:calc(100% - 60px);
	float:left;
	width:64%;
}

.classA .nav-icon img{
	margin-right: 15px;
	width: 20px;
}

.elementDiv{
	display: none;
}
.elementA{ background: white;}
.elementA a{ font-size: 10px;margin-left: 30px;}


/*中间主要部分，表格和地图*/
.main-content{
	height: calc(100% - 20px);
}
.main-content .content-wrapper{
	height: calc(100% - 30px);
}
.main-content .content-wrapper .data-table-wrapper{
	height: 100%;
}

/*颜色选择*/
.select-color .color-tree{
	display: inline-block;
	height: 360px;
	width: 200px;
	overflow: auto;
}
.select-color .element-wrapper{
	position: relative;
	float: right;
	height: 360px;
	padding-right: 10px;
}
.select-color .element-wrapper .title{
	height: 20px;
}
.select-color .element-wrapper .color-item-wrapper{
	height: calc(100% - 20px);
	overflow: auto;
	padding-right: 10px;
}
.select-color .element-wrapper .title > span{
	width: 80px;
	display: inline-block;
	margin: 0 10px;
	text-align: center;
}
.select-color .element .item{
	width: 80px;
	display: inline-block;
	vertical-align: middle;
	margin: 0 10px;
}
.select-color .element .item[type=color]{
	padding: 0;
}
.select-color .element{
	padding: 2px 0;
}
.select-color .element .del-color{
	margin-left: 10px;
}
.select-color .foot-tool .add-color{
	margin: 10px;
}

/*
gis图形制作*/
/*渲染方案*/
.gis-graphics .render-plan{
	min-height: 28px;
	border: 1px solid #ccc;
	border-radius: 2px;
	cursor: pointer;
}
.gis-graphics .render-plan .plan-item{
	display: inline-block;
	height: 20px;
	border-radius: 3px;
	margin: 3px 1px;
	width: 40px;
	border: 1px solid #00000030;
}
.gis-graphics .layui-input-block{
	width: 485px;
}


/*地图样式*/
#map{
	position: relative;
	width: 100%;
	height: 100%;
}
#map> .image{
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}


/*
图例样式*/
.color-legend-layer .item{
	height: 20px;
	margin: 5px 0;
}
.color-legend-layer .item .bg{
	display: inline-block;
	width: 40px;
	height: 20px;
	vertical-align: top;
	border: 1px solid #00000030;
}
.color-legend-layer .item .text{
	display: inline-block;
	line-height: 20px;
	height: 20px;
	vertical-align: top;
	margin-left: 5px;
	min-width: 80px;
	text-align: center;
}


/*标题*/
.gis-title, .gis-product-unit{
	position: fixed;
	text-shadow:0 0 3px #00000020;
	letter-spacing: 1px;
	text-align: center;
	cursor: default;
	user-select: none;
	white-space: nowrap;
}
.gis-title{
	top: 130px;
	left: 63.5%;
	font-size: 26px;
	transform: translateX(-50%);
}
.gis-product-unit{
	left: calc(100% - 20px);
	top: calc(100% - 15px);
	font-size: 24px;
	transform: translate(-100%, -100%);
}


/*地图工具*/
.map-tool{
	display: none;
	position: absolute;
	right: 0;
	top: 0;
	margin: 10px;
}
.map-tool .download-img a {
	color: #fff;
}



/*
图表*/
.chart-show-wrapper{
	height: 100%;
}
#chartDom{
	width: 100%;
	height: 100%;
	position: relative;
}

/*
过滤*/
.data-filter .layui-form-label{
	width: 100px;
}
.data-filter .layui-input-block{
	margin-left: 100px;
	width: 405px;
}

/*指标霜冻设置*/
.index-setting-layer .stage{
	padding-bottom: 20px;
	padding-top: 5px;
	text-align: center;
}
.index-setting-layer .stage:not(:last-child){
	border-bottom: 2px solid #00000017;
}
.index-setting-layer .stage .title{
	font-weight: bold;
	line-height: 28px;
}
.index-setting-layer .stage .range{
	line-height: 28px;
}
.index-setting-layer .stage .range input{
	width: 80px;
	line-height: 18px;
}



/*
layer信息框*/
.basic-info .item-inline{
	display: inline-block;
	width: 50%;
	line-height: 26px;
}

.basic-info .item-inline .item-name{
	font-weight: bold;
}



/*
导航主题色*/
.theme-color{
	font-size: 0;
}
.theme-color .item{
	position: relative;
	display: inline-block;
	margin: 6px;
	width: 80px;
	height: 50px;
	background-color: #f2f2f2;
	border: 1px solid #e8e8e8;
	cursor: pointer;
}
.theme-color .item::after{
	content: '';
	position: absolute;
	transform: scale(.2);
	opacity: 0;
	width: 88px;
	left: -5px;
	height: 58px;
	top: -5px;
	border: 1px solid #57c030;
	transition: transform .2s ease, opacity .2s ease;
}
.theme-color .item.active::after, .theme-color .item:hover::after{
	transform: scale(1);
	opacity: 1;
}
.theme-color .slider{
	position: absolute;
	width: 20px;
	height: 48px;
	top: 0;
}
.theme-color .header{
	position: relative;
	height: 10px;
	z-index: 1;
	box-shadow: 0 0 2px #b1b1b180;
}


.theme-bg-white .layui-nav .layui-nav-item a{
	color: #999;
}
.theme-bg-white #logoDiv .title, .theme-bg-white .layui-nav .layui-nav-item a:hover,
.theme-bg-white .layui-nav .layui-this a{
	color: #000
}
.theme-bg-white .layui-nav-tree .layui-nav-item a:hover {
	background-color: #eaeaea;
}
.theme-bg-white .layui-nav-itemed > a{
	color: #000!important;
}
.theme-bg-white .layui-nav-itemed>a .layui-nav-more{
	border-color: transparent transparent rgba(0, 0, 0, 0.7);
}
.theme-bg-white .layui-nav .layui-nav-more{
	 border-top-color: rgba(0, 0, 0, 0.7);
}
.theme-bg-white .layui-nav-tree .layui-nav-child a{
	background-color: #fff;
	height: 30px;
	line-height: 30px;
}

#leftDiv .bg-white-dark{
	background-color: #fff;
	color: #000;
}
/*统计图主题色*/
.chart-play .them-color,.chart-play .them-color-compare {
	line-height: 28px;
}

.cropSelectPanel{
	position: absolute;
	top: 61px;
	right: 0px;
	z-index: 999;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	background-color: #ffffff;
	overflow: hidden;
}
.cropSelectPanel ul li{
	float: left;
	margin: 5px;
	
}
.cropSelectPanel ul li a img{
	width: 60px;
	height: 60px;
	cursor:pointer;
}
.areaChangePanel {
	position: absolute;
	top: 61px;
	right: 12px;
	z-index: 999;
	width: 360px;
	height: 150px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	background-color: #ffffff;
	overflow: hidden;
}

.areaChangePanel li {
	float: left;
}


.area_type {
	width: 100%;
	height: 40px;
	border-bottom: 1px solid #cccccc;
}

.area_type_item {
	width: calc( 100% / 3 );
	height: 40px;
	font-size: 14px;
	line-height: 40px;
	text-align: center;
	cursor: pointer;
}
.active_li{
	background: #57c030;
	color:#fff;
}

.area_conts {
	padding: 10px;
	width: 100%;
	height: calc( 100% - 82px );
}

.area_conts_list {
	display: none;
}

.area_conts_item {
	width: calc( 100% / 5 - 8px );
	height: 30px;
	font-size: 14px;
	line-height: 30px;
	text-align: center;
	overflow: hidden;
	cursor: pointer;
}

.area_conts_item:hover,
.area_conts_item.crt {
	color: #ffffff;
	background-color: #57c030;
}

.area_conts_item:not( :nth-child( 5n + 5 ) ) {
	margin-right: 10px;
}

.area_button {
	width: 100%;
	height: 40px;
	border-top: 1px solid #cccccc;
}

.area_button > * {
	float: left;
	margin: 6px 0 6px 10px;
	width: 68px;
	height: 28px;
	line-height: 28px;
	text-align: center;
	border: none;
	background-color: #f2f2f2;
	cursor: pointer;
}

/* custom_farm */
.custom_farm {
	display: none;
	position: absolute;
	top: 68px;
	right: 0;
	z-index: 9;
	width: 82%;
	height: calc( 100% - 60px );
	overflow: hidden;
}

.custom_farm iframe[name="farm_"] {
	width: 100%;
	height: 100%;
	background: #f8f8f8;
}



/* - dataChart - */
.dataChart {
	position: relative;
	width: 100%;
	height: calc( 50% - 40px );
}

.dataChart select[name="changeElmt"] {
	position: absolute;
	top: 0;
	left: 12px;
	z-index: 9;
	width: 88px;
	height: 28px;
}

.dataChart #_chart {
	width: 100%;
	height: 100%;
}



/* - customizeStation - */
#selectedStation {
	float: right;
	margin-top: 93px;
	width: 190px;
	height: calc( 100% - 103px );
	border: 1px solid #e6e6e6;
}

#selectedStation ul {
	width: 100%;
	height: calc( 100% - 41px );
	overflow-y: scroll;
}

#selectedStation ul li {
	padding: 0 12px;
	width: 100%;
	height: 40px;
}

#selectedStation ul li > * {
	display: block;
	float: left;
	height: 40px;
	line-height: 40px;
}

#selectedStation ul li p {
	width: calc( 100% - 30px );
}

#selectedStation ul li i {
	width: 30px;
	color: #FF5722;
	text-align: center;
	cursor: pointer;
}

.customizeStationTools {
	width: 100%;
	height: 40px;
	border-top: 1px solid #e6e6e6;
}

.customizeStationTools button {
	float: left;
	margin: 7px 0 7px 7px;
	padding: 0 5px;
	width: auto;
	height: 26px;
	border: none;
	border-radius: 2px;
	cursor: pointer;
}

.customizeStationTools button[name="removeAllStation"] {
	color: #fff;
	background-color: red;
}